@import '~antd/lib/style/themes/default.less';
@import '~@/utils/utils.less';

.RowTableHeader {
  margin: 10px 0;
  height: 40px;
  line-height: 40px;
  background-color: #f3f3f3;
  > :first-child {
    padding-left: 20px;
  }
}

.itemCol {
  line-height: 32px;
  height: 32px;
}

.tableList {
  .tableListOperator {
    margin-bottom: 16px;
    height: 40px;
    button {
      margin-right: 8px;
    }
  }
}

.tableListForm {
  float: right;
  width: 300px;
  :global {
    .ant-form-item {
      // margin-bottom: 24px;
      margin-right: 0;
      display: flex;
      > .ant-form-item-label {
        width: auto;
        line-height: 32px;
        padding-right: 8px;
      }
      .ant-form-item-control {
        line-height: 32px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    display: block;
    white-space: nowrap;
    margin-bottom: 24px;
  }
}

.formRow {
  :global {
    .ant-form-item {
      margin-bottom: 10px;
    }
  }
}

.supporterRow {
  height: 40px;
  line-height: 40px;

  .supporterText {
    position: relative;
    margin-left: 40px;
    padding-left: 10px;
    border-radius: 4px;
    &:hover {
      background-color: #f3f3f3;
    }
    .supporterNum {
      position: absolute;
      left: -40px;
    }
  }
}

@media screen and (max-width: @screen-lg) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
  }
}

@media screen and (max-width: @screen-md) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 8px;
  }
}

.rowTableForm {
  > :first-child {
    text-align: center;
  }
  :global {
    .ant-form-item {
      margin: 0;
    }
    .ant-form-item-control {
      line-height: 50px;
    }
  }
}

.submitButtons {
  display: block;
  white-space: nowrap;
  margin-bottom: 24px;
}

.searchModalHeader {
  height: 50px;
  display: flex;
  justify-content: space-between;
}
.searchModalLeft {
  margin-top: 40px;
  margin-bottom: 20px;
}
.searchModalLeftListItem {
  height: 50px;
  padding: 10px;
  cursor: pointer;
}
.searchModalLeftListIndexItem {
  height: 50px;
  padding: 10px;
  background: gray;
  cursor: pointer;
}
.searchModalFooter {
  display: flex;
  justify-content: flex-end;
  height: 60px;
  align-items: center;
}
.searchModalFooter button:nth-child(1) {
  margin-right: 20px;
}
.insertHeaderStyle {
  height: 80px;
  display: flex;
  align-items: center;
}
.insertHeaderStyle main {
  margin-left: 20px;
  display: flex;
  width: 200px;
  justify-content: space-between;
  align-items: center;
}
.insertHeaderStyle main:nth-child(1) {
  margin-left: 0;
  width: 170px;
}
.insertHeaderStyle main:last-child {
  width: 230px;
  margin-top: -22px;
}
.submitBootmStyle {
  display: flex;
  padding: 0 20px;
  height: 50px;
  justify-content: flex-end;
  align-items: center;
}
.submitBootmStyle div:nth-child(1) {
  margin-right: 20px;
}
